<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge;IE=11;IE=9;IE=8;">
    <meta charset="UTF-8">
    <title></title>
    <script src="/report/js/bootstrap.js"></script>
    <script src="reportUtil.js" type="text/javascript"></script>
    <script src="reportQueryTablesUtil.js" type="text/javascript"></script>
    <script src="reportQueryTables.js" type="text/javascript"></script>
    <script type="text/javascript">
        /**
         * 通用函数：获取url中的参数
         */
        function getUrlParam(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
            var r = window.location.search.substr(1).match(reg);  //匹配目标参数
            if (r != null) {
                var result = unescape(r[2]);
                if (!isNull(result) && result.indexOf('?') != -1){
                    result = result.substring(0,result.indexOf('?'));
                }
                return result;
                // return unescape(r[2]);
            }
            return null; //返回参数值
        }

        sqlDebug = getSysParam('SYS_SQL_DEBUG');
        orderCheck = getSysParam('SYS_REPORT_ORDER_BY_NUMBER');
        requestUrl = window.location.pathname;
        var tables_id = getUrlParam('code');
        var q_code =getUrlParam('code');
        var adcode =getSessionParam('adCode');
        var agcode =getSessionParam('agCode');
        var map= GetRequest();
        map["code"] = q_code;
        map["ad_code"] = adcode;
        map["ag_code"] = agcode;
        q_condition = map;
        menuCode = getUrlParam('menucode');
        q_select_condition = getUrlParam('condition');
        var tables_name = decodeURI(getUrlParam('tablesname'));
        document.title = (tables_name=="null" || tables_name==null) ? '' : tables_name;
    </script>
    <style type="text/css">
        .up_down {
            width: 20px;
            position: fixed;
            top: 45px;
            right: 5px;
            z-index: 9999;
        }

        .x-tab-bar {
            background: #E6E6E6 !important;
            border: 0 !important;
            padding-left: 5px;
        }

        /* 线调整 */
        .x-tab-bar-strip {
            top: 29px !important; /* Default value is 20*/
            height: 3px;
            display: none; /*底部线条是否 显示，如果需要显示注销*/
        }

        /* 页签背景色 */
        .x-tab-default {
            border: solid 1px #c0c0c0; /* border-color: #4b9cd7;  */
            cursor: pointer;
            background-color: #E6E6E6;
        }

        .x-tab-over.x-tab-default {
            border: solid 1px #c0c0c0; /* border-color: #4b9cd7;  */
            background-color: #E6E6E6;
        }

        .x-tab-inner-default {
            font: 13px/16px helvetica, arial, verdana, sans-serif; /* bold 13px/16px helvetica,arial,verdana,sans-serif */
            color: #000;
            max-width: 100%;
        }

        .x-tab.x-tab-active.x-tab-default .x-tab-inner-default {
            color: #217346;
        }


        .x-tab.x-tab-active.x-tab-default {
            border-color: #217346;
            border-width: 0px 1px 1px 1px;
            background-color: #FFF;
        }

        .x-tab-inner {
            font-size: 11px;
            vertical-align: top !important;
            line-height: 12px !important;
        }

        .x-tab-bar-bottom > .x-tab-bar-body-default {
            padding-top: 0px;
        }

        .x-tab-bar .x-tab-bar-body .x-box-inner .x-tab {
            height: 22px !important; /* Default value is 21*/
            border-radius: 0px 0px 0px 0px !important;
        }

        .x-box-scroller-plain.x-box-scroller-tab-bar-default.x-box-scroller-left {
            background-image: url(/report/image/sysbutton/tableft.png);
            /* url(images/tab-bar/default-plain-scroll-left.png)  */
        }

        .x-box-scroller-plain.x-box-scroller-tab-bar-default.x-box-scroller-right {
            background-image: url(/report/image/sysbutton/tabright.png);
            /* url(images/tab-bar/default-plain-scroll-right.png)  */
        }

        .x-tab-bar-default-bottom .x-box-scroller-tab-bar-default {
            margin-top: -17px;
        }

        .x-box-scroller-tab-bar-default {
            cursor: pointer;
            filter: alpha(opacity=100);
            opacity: 1;
        }

        .x-box-scroller-tab-bar-default.x-box-scroller-disabled {
            filter: alpha(opacity=100);
            opacity: 1;
            cursor: default;
        }
    </style>
</head>
<body>
<!--<div id="up_down" class="up_down"><img src="/report/image/sysbutton/up.png" class="img-collapsible"/></div>-->
</body>
</html>
